package com.yqg.protection.controller.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yqg.protection.cover.LocalDateTimeConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * projectName:xf-service1
 * author:zxf
 * time:2024/10/15 9:40
 * description:
 */
@Data
public class ImportRecordCheckDto {

    @ExcelProperty(value = "查岗人ID(必填)", index = 0)
    @ApiModelProperty("查岗人ID")
    private Long userId;

    @ExcelProperty(value = "发起时间", index = 1, converter = LocalDateTimeConverter.class)
    @ApiModelProperty("发起时间")
    private LocalDateTime startTime;

    @ExcelProperty(value = "结束时间", index = 2, converter = LocalDateTimeConverter.class)
    @ApiModelProperty("结束时间")
    private LocalDateTime endTime;

    @ExcelProperty(value = "设备IP(必填)", index = 3)
    @ApiModelProperty("设备IP")
    private String ip;

    @ExcelProperty(value = "查岗状态()(必填)", index = 4)
    @ApiModelProperty("查岗状态")
    private String state;

    @ExcelProperty(value = "查岗结果", index = 5)
    @ApiModelProperty("查岗结果")
    private String result;
}
